/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.siswebvendas.util;

import br.com.siswebvendas.cliente.ClienteDAO;
import br.com.siswebvendas.cliente.ClienteDAOHibernate;

/**
 *
 * @author Robson
 */
public class DAOFactory {
    public static final ClienteDAO criaClienteDAO(){
    
        ClienteDAOHibernate clienteDAOHibernate = new ClienteDAOHibernate();
        
        clienteDAOHibernate.setSessao(HibernateUtil.getSession().getCurrentSession());
        
        return clienteDAOHibernate;
    }
    
    
}
